Response
| Field | Description | Type |
|---|---|---|
| status | "success|error|in progress" – status | |
| code | completion code | |
| message | error message | |
| doc_id | Document ID for codes generation | integer |
Note: The status "in progress" indicates that the request is still being processed when using the request_id parameter. This status was introduced to prevent the re-execution of requests with the same request_id if they have already been accepted for processing but not yet completed.
Error codes:
| Field | Description | Type |
|---|---|---|
| 0 | Done | |
| 116 | Document not found | |
| 117 | Production document not confirmed yet | |
| 118 | No entries found to generate codes | |
| 124 | Invalid code for product %s | |
| 125 | Product barcode %s not set | |
| 126 | Code generation order for product %s not found | |
| 127 | Product group %s in the code generation order not found | |
| 128 | The code generation order is not confirmed | |
| 129 | The code generation order completed | |
| 130 | Order contains an invalid code number | |
| 131 | Packaging not set for product category %s | |
| 132 | No amount available for product code %s generation | |
| 133 | Too many collisions | |
| 149 | Order denied | |
| 153 | The code generation template is not configured | |
| 209 | The background process was rejected due to maintenance work on the server. |